<%@include file="/jsp/init.jspf" %>
<layout:top/>
<h1  class="pagetitle">Generic Type</h1>
<fieldset class="seventy marginThirty">
    <legend>Generic Type</legend>
    <table>
        <tr>
            <td>ID</td>
            <td>Type</td>
            <td>Action</td>
        </tr>
        <s:iterator value="genericTypeList" id="genericCodeList">
            <tr>
                <td> <s:property value="id"/></td>
                <td><s:property value="desc"/></td>
                <td>
                    <a href="viewGenericTypeAction.action?typeId=<s:property value="id"/>">Edit</a>
                    |
                    <a href="removeGenericTypeAction.action?typeId=<s:property value="id"/>">Delete</a>
                </td>
            </tr>
        </s:iterator>
        <a href="addEditCodeManagementAction.action">Add New</a>
    </table>
</fieldset>
<fieldset class="seventy marginThirty">
    <legend>Code Type</legend>
    <table>
        <tr>
            <td>Code</td>
            <td>Desc</td>
            <td>Type</td>
            <td>Action</td>
        </tr>
        <s:iterator value="genericCodeList" id="genericCodeList">
            <tr>
                <td><s:property value="value"/></td>
                <td><s:property value="desc"/></td>
                <td><s:property value="type.desc"/></td>
                <td>
                    <a href="viewGenericCode.action?codeId=<s:property value="stringId"/>">Edit</a>
                    |
                    <a href="removeGenericCode.action?codeId=<s:property value="stringId"/>">Delete</a>
                </td>
            </tr>
        </s:iterator>
        <a href="addEditCodeManagementAction.action">Add New</a>
    </table>
</fieldset>
<layout:bottom/>
